package com.ssyc.student.bean;

import java.util.List;

/**
 * 提交给服务器的数据模型
 * Created by Administrator on 2018/6/5 0005.
 */

public class CommitInfo {

    /**
     * grade_id : 级别
     * lesson_id : 课程编号
     * module_id : 模块编号
     * amount : 题目总数量
     * amount_t : 正确题目数量
     * score : 总分
     * score_t : 得分
     * seconds : 耗时/s
     * subject : [{"type_id":"题型编号","question_id":"题目编号","result":"正确与否[0错、1对]","content":"填空内容","score":"得分"},{"type_id":"题型编号","question_id":"题目编号","result":"正确与否[0错、1对]","content":"填空内容","score":"得分"},{"type_id":"题型编号","question_id":"题目编号","result":"正确与否[0错、1对]","content":"填空内容","score":"得分"}]
     */

    private String grade_id;
    private String lesson_id;
    private String module_id;
    private String amount;
    private String amount_t;
    private String score;
    private String score_t;
    private String seconds;
    private List<SubjectBean> subject;

    public String getGrade_id() {
        return grade_id;
    }

    public void setGrade_id(String grade_id) {
        this.grade_id = grade_id;
    }

    public String getLesson_id() {
        return lesson_id;
    }

    public void setLesson_id(String lesson_id) {
        this.lesson_id = lesson_id;
    }

    public String getModule_id() {
        return module_id;
    }

    public void setModule_id(String module_id) {
        this.module_id = module_id;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getAmount_t() {
        return amount_t;
    }

    public void setAmount_t(String amount_t) {
        this.amount_t = amount_t;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getScore_t() {
        return score_t;
    }

    public void setScore_t(String score_t) {
        this.score_t = score_t;
    }

    public String getSeconds() {
        return seconds;
    }

    public void setSeconds(String seconds) {
        this.seconds = seconds;
    }

    public List<SubjectBean> getSubject() {
        return subject;
    }

    public void setSubject(List<SubjectBean> subject) {
        this.subject = subject;
    }

    public static class SubjectBean {
        /**
         * type_id : 题型编号
         * question_id : 题目编号
         * result : 正确与否[0错、1对]
         * content : 填空内容
         * score : 得分
         */

        private String type_id;
        private String question_id;
        private String result;
        private String content;
        private String score;

        public String getType_id() {
            return type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getQuestion_id() {
            return question_id;
        }

        public void setQuestion_id(String question_id) {
            this.question_id = question_id;
        }

        public String getResult() {
            return result;
        }

        public void setResult(String result) {
            this.result = result;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }
    }
}
